#define _CRT_SECURE_NO_WARNINGS
#pragma once
#include<iostream>
#ifndef DICTIONARY_H
#define DICTIONARY_H
#include<utility>
#include<string>
using namespace std;

template<class K,class E>
class pairNode
{
public:
	pair<const K, E>element;
	pairNode<K, E>* next;
public:
	pairNode(){}
	pairNode(pair<const K, E>& element)
	{
		this->element = element;
	}
	pairNode(pair<const K, E>& element, pairNode<K, E>* next)
	{
		this->element = element;
		this->next = next;
	}
};

template<class K,class E>
class sortedChain
{
public:
	sortedChain() {};
	~sortedChain() {};
	pair<const K, E>* find(const K&);
	void insert(const pair<const K, E>&);
	void erase(const K&);
};

template<class K, class E>
void initialize(pairNode<K,E>*&);

#endif